import inspect
import sys
import os
import pkgutil
import importlib

ind_cls_dict = dict()
path = os.path.split(os.path.realpath(__file__))[0]

for importer_sql, modname, ispkg_sql in pkgutil.walk_packages(path=__path__,
                                                      prefix=__name__+'.',
                                                      onerror=lambda x: None):
    exec('from ' + modname + ' import *')
    name  =  modname.split(".")[-1]
    ind_cls = getattr(importlib.import_module(modname),
                        name, None)
    ind_cls_dict[name] = ind_cls

